{* Smarty
// This file should be in UTF8 without BOM - Accents examples: éèê
// +----------------------------------------------------------------------+
// | Copyright (c) 2004-2015 Advisto SAS, service PEEL - contact@peel.fr  |
// +----------------------------------------------------------------------+
// | This file is part of PEEL Shopping 7.2.1, which is subject to an	  |
// | opensource GPL license: you are allowed to customize the code		  |
// | for your own needs, but must keep your changes under GPL			  |
// | More information: https://www.peel.fr/lire/licence-gpl-70.html		  |
// +----------------------------------------------------------------------+
// | Author: Advisto SAS, RCS 479 205 452, France, https://www.peel.fr/	  |
// +----------------------------------------------------------------------+
// $Id: admin_formulaire_paiement.tpl 44077 2015-02-17 10:20:38Z sdelaporte $
*}<form class="entryform form-inline" role="form" method="post" action="{$action|escape:'html'}">
	{$form_token}
	<input type="hidden" name="mode" value="{$mode|str_form_value}" />
	<input type="hidden" name="id" value="{$id|str_form_value}" />
	<table class="full_width">
		<tr>
			<td class="entete" colspan="2">{$STR_ADMIN_PAIEMENT_FORM_TITLE}</td>
		</tr>
		<tr>
			<td>{$STR_ADMIN_WEBSITE}{$STR_BEFORE_TWO_POINTS}: </td>
			<td>
				<select class="form-control" name="site_id">
					{$site_id_select_options}
				</select>
			</td>
		</tr>
		<tr>
			<td>{$STR_STATUS}{$STR_BEFORE_TWO_POINTS}:</td>
			<td>
				<input type="radio" name="etat" value="1"{if $etat == '1'} checked="checked"{/if} /> {$STR_ADMIN_ONLINE}<br />
				<input type="radio" name="etat" value="0"{if $etat == '0' OR empty($etat)} checked="checked"{/if} /> {$STR_ADMIN_OFFLINE}
			</td>
		</tr>
		{foreach $langs as $l}
		<tr><td colspan="2" class="bloc">{$STR_ADMIN_LANGUAGES_SECTION_HEADER} {$l.lng|upper}</td></tr>
		<tr>
			<td class="title_label">{$STR_ADMIN_NAME} {$l.lng|upper}:</td>
			<td><input type="text" class="form-control" name="nom_{$l.lng}" value="{$l.nom|str_form_value}" /></td>
		</tr>
		{/foreach}
		<tr><td colspan="2" class="bloc">{$STR_ADMIN_VARIOUS_INFORMATION_HEADER}</td></tr>
		<tr>
			<td>{$STR_ADMIN_TECHNICAL_CODE}{$STR_BEFORE_TWO_POINTS}:</td>
			<td><input type="text" class="form-control" name="technical_code" value="{$technical_code|str_form_value}" /></td>
		</tr>
		<tr>
			<td colspan="2"><div class="alert alert-info">{$STR_ADMIN_PAIEMENT_TECHNICAL_CODE_DEFAULT_EXPLAIN}</div></td>
		</tr>
		<tr>
			<td>{$STR_ADMIN_PAIEMENT_ORDER_OVERCOST}{$STR_BEFORE_TWO_POINTS}:</td>
			<td><input type="text" class="form-control" name="tarif" style="width:100px" value="{$tarif|str_form_value}" /> {$site_symbole}</td>
		</tr>
		<tr>
			<td></td>
			<td><input type="text" class="form-control" name="tarif_percent" style="width:100px" value="{$tarif_percent|str_form_value}" /> %</td>
		</tr>
		<tr>
			<td colspan="2"><p class="alert alert-info">{$STR_ADMIN_PAIEMENT_WARNING}</p></td>
		</tr>
		<tr>
			<td>{$STR_VAT}{$STR_BEFORE_TWO_POINTS}:</td>
			<td>
				<select class="form-control" name="tva">{$tva}</select>
			</td>
		</tr>
		<tr>
			<td>{$STR_ADMIN_POSITION}{$STR_BEFORE_TWO_POINTS}:</td>
			<td><input type="number" class="form-control" name="position" value="{$position|str_form_value}" /></td>
		</tr>

		<tr>
			<td>{$STR_ADMIN_TARIFS_MINIMAL_TOTAL} ({$site_symbole} {$STR_TTC}){$STR_BEFORE_TWO_POINTS}:</td>
			<td><input type="text" class="form-control" name="totalmin" style="width:100px" value="{$totalmin|str_form_value}" /></td>
		</tr>
		<tr>
			<td>{$STR_ADMIN_TARIFS_MAXIMAL_TOTAL} ({$site_symbole} {$STR_TTC}){$STR_BEFORE_TWO_POINTS}:</td>
			<td><input type="text" class="form-control" name="totalmax" style="width:100px" value="{$totalmax|str_form_value}" /></td>
		</tr>
		{if $is_payback_module_active}
		<tr>
			<td>{$STR_ADMIN_PAIEMENT_ALLOW_REIMBURSMENTS}{$STR_BEFORE_TWO_POINTS}?</td>
			<td>
				<input type="radio" name="retour_possible" id="retour_possible1" value="1"{if $is_retour_possible1} checked="checked"{/if} /> <label for="retour_possible1">{$STR_YES}</label>&nbsp;&nbsp;
				<input type="radio" name="retour_possible" id="retour_possible0" value="0"{if $is_retour_possible0} checked="checked"{/if} /> <label for="retour_possible0">{$STR_NO}</label>
			</td>
		</tr>
		{/if}
		<tr>
			<td class="center" colspan="2"><p><input class="btn btn-primary" type="submit" value="{$titre_bouton|str_form_value}" /></p></td>
		</tr>
	</table>
</form>